package com.cc.visitor.dao;

import com.cc.visitor.entity.Department;
import com.mybatisflex.core.BaseMapper;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
import java.util.List;

/**
 * @author chanchaw
 * @create 2024-09-26 13:18
 */
@Repository
public interface DepartmentMapper extends BaseMapper<Department> {
    @Select("call usp_getAllDepartmentRestricted()")
    List<Department> getAllDepartmentRestricted();
}
